<?php /* Smarty version 2.6.18, created on 2010-02-26 15:55:28
         compiled from bao_tri_costid.tpl */ ?>
<?php $_smarty_tpl_vars = $this->_tpl_vars;
$this->_smarty_include(array('smarty_include_tpl_file' => "header.tpl", 'smarty_include_vars' => array('title' => 'Bao tri menulist')));
$this->_tpl_vars = $_smarty_tpl_vars;
unset($_smarty_tpl_vars);
 ?>
<form action="" method="post" name ="tongquat" target="_self">
<table width="100%" border="0" cellspacing="0" cellpadding="0">
<tr>
<td colspan="2">
<input type="button" value="<?php echo $this->_tpl_vars['ten_trove']; ?>
" onclick="history.back();" class="button_style" onMouseOver="this.className='button_style_hover'" onMouseOut="this.className='button_style'"></td>
<td align="right" nowrap="nowrap" colspan="2">
<select name="hanhdong" size="1" onchange="changevalue('hanhdong');">
   <?php $_from = $this->_tpl_vars['chuyentrang']; if (!is_array($_from) && !is_object($_from)) { settype($_from, 'array'); }if (count($_from)):
    foreach ($_from as $this->_tpl_vars['k'] => $this->_tpl_vars['v']):
?>
      <option value="<?php echo $this->_tpl_vars['k']; ?>
" <?php if ($this->_tpl_vars['select_cbo_chuyentrang'] == $this->_tpl_vars['k']): ?> selected="selected" <?php endif; ?>><?php echo $this->_tpl_vars['v']; ?>
</option>
 	<?php endforeach; endif; unset($_from); ?>
</select>
<input name="action" type="submit" value="<?php echo $this->_tpl_vars['ten_thuc_hien']; ?>
" class="button_style" onClick="" onMouseOver="this.className='button_style_hover'" onMouseOut="this.className='button_style'"/></td>
</tr>
<tr>
<td colspan="4">
<hr></td>
</tr>
  <tr>
    <td width="25%"><?php echo $this->_tpl_vars['lbl_COSTID']; ?>
</td>
     <td colspan="3" style="color:#FF0000"><input name="COSTID" id="COSTID" type="text" style="background:<?php echo $this->_tpl_vars['colorCOSTID']; ?>
" value="<?php echo $this->_tpl_vars['COSTID']; ?>
" size="20" maxlength="10" <?php if ($this->_tpl_vars['activefield'] == 'enabled'): ?> readonly="readOnly"<?php endif; ?>/>
       * 
       <input type="submit" name="find" value="    " id="replacement_find" <?php if ($this->_tpl_vars['activefield'] == 'enabled'): ?> disabled="disabled"<?php endif; ?> /></td>
    </tr>
	<!--
   <tr>
     <td nowrap="nowrap"><?php echo $this->_tpl_vars['lbl_PRFTCD']; ?>
</td>
     <td colspan="3" style="color:#FF0000">
	 <select name="PRFTCD" size="1"  >
       <?php $_from = $this->_tpl_vars['PRFTCD']; if (!is_array($_from) && !is_object($_from)) { settype($_from, 'array'); }if (count($_from)):
    foreach ($_from as $this->_tpl_vars['k'] => $this->_tpl_vars['v']):
?>
	  		<option value="<?php echo $this->_tpl_vars['k']; ?>
" <?php if ($this->_tpl_vars['k'] == $this->_tpl_vars['activePRFTCD']): ?> selected="selected" <?php endif; ?> ><?php echo $this->_tpl_vars['v']; ?>
</option>
       <?php endforeach; endif; unset($_from); ?>
     </select></td>
   </tr>
   -->
   <tr>
     <td nowrap="nowrap"><?php echo $this->_tpl_vars['lbl_DEPTCD']; ?>
</td>
     <td colspan="3" style="color:#FF0000"><select name="DEPTCD" size="1">
      <?php $_from = $this->_tpl_vars['DEPTCD']; if (!is_array($_from) && !is_object($_from)) { settype($_from, 'array'); }if (count($_from)):
    foreach ($_from as $this->_tpl_vars['k'] => $this->_tpl_vars['v']):
?>
	  	<option value="<?php echo $this->_tpl_vars['k']; ?>
" <?php if ($this->_tpl_vars['k'] == $this->_tpl_vars['activeDEPTCD']): ?> selected="selected" <?php endif; ?> ><?php echo $this->_tpl_vars['v']; ?>
</option>
	  <?php endforeach; endif; unset($_from); ?>
    </select></td>
   </tr>
  <tr>
    <td><?php echo $this->_tpl_vars['lbl_VNAME']; ?>
</td>
    <td colspan="3"><input name="VNAME" id="VNAME" type="text" style="background:<?php echo $this->_tpl_vars['colorVNAME']; ?>
" value="<?php echo $this->_tpl_vars['VNAME']; ?>
" size="50" maxlength="50" /> <span style="color:#FF0000">*</span></td>
  </tr>
   <tr>
    <td><?php echo $this->_tpl_vars['lbl_ENAME']; ?>
</td>
    <td colspan="3"><input name="ENAME" id="ENAME" type="text" style="background:<?php echo $this->_tpl_vars['colorENAME']; ?>
" value="<?php echo $this->_tpl_vars['ENAME']; ?>
" size="50" maxlength="50" /></td>
  </tr>
  <tr>
    <td nowrap="nowrap"><?php echo $this->_tpl_vars['lbl_GLACCOUNT']; ?>
</td>
    <td colspan="3" nowrap="nowrap">
	
	<input type="text" name="GL" id="GL" size="20" maxlength="10" value="<?php echo $this->_tpl_vars['GL']; ?>
"  />
	<input type="submit" name="add" id="add" value="<?php echo $this->_tpl_vars['ten_them_moi']; ?>
"  class="button_style" onmouseover="this.className='button_style_hover'" onmouseout="this.className='button_style'" >
	<input name="delete" type="submit" value=" <?php echo $this->_tpl_vars['ten_xoa']; ?>
 " class="button_style" onclick="del_GLacc(this.form);" onmouseover="this.className='button_style_hover'" onmouseout="this.className='button_style'" />	
	<br />
	<span style="color:#FF0000"><?php echo $this->_tpl_vars['GL_info']; ?>
</span>	</td>
  </tr>
  <tr>
    <td nowrap="nowrap">&nbsp;</td>
    <td nowrap="nowrap" width="5%">
	<textarea name="GL_ACC" id="GL_ACC" cols="50" rows="3" disabled="disabled" style="background:<?php echo $this->_tpl_vars['colorGLACCOUNT']; ?>
"><?php echo $this->_tpl_vars['GLACCOUNT']; ?>
</textarea></td>
    <td colspan="2" nowrap="nowrap"><span style="color:#FF0000">*</span></td>
    </tr>
<tr>
<td colspan="4">
<p>&nbsp;</p>
<p>
  <input type="hidden" name="GLACCOUNT" id="GLACCOUNT" value="<?php echo $this->_tpl_vars['GLACCOUNT']; ?>
"/>
</p></td>
</tr>
<tr>
<td colspan="4" align="right" nowrap="nowrap">
    <input type="button" name="cancle" id="cancle" value="<?php echo $this->_tpl_vars['ten_cancle']; ?>
" class="button_style" onclick="activeform(this.form,'COSTID');" onmouseover="this.className='button_style_hover'" onmouseout="this.className='button_style'" />
    <input type="submit" name="capnhat" value="<?php echo $this->_tpl_vars['ten_cap_nhat']; ?>
" <?php if ($this->_tpl_vars['activefield'] == 'disabled'): ?>disabled="disabled" <?php endif; ?> class="button_style" onClick="" onMouseOver="this.className='button_style_hover'" onMouseOut="this.className='button_style'" /></td>
  </tr>
<tr>
<td colspan="4" align="left" nowrap="nowrap">
<input name="addnew" type="submit" value="<?php echo $this->_tpl_vars['ten_themmoi']; ?>
" class="button_style" onclick="" onmouseover="this.className='button_style_hover'" onmouseout="this.className='button_style'" />
<input name="detail" type="submit" value="<?php echo $this->_tpl_vars['ten_chitiet']; ?>
" class="button_style" onclick="" onmouseover="this.className='button_style_hover'" onmouseout="this.className='button_style'" /></td>
</tr>
<tr>
<td colspan="4"><hr></td>
</tr>

<tr>
<td colspan="3">
<input type="button" value="<?php echo $this->_tpl_vars['ten_trove']; ?>
" onclick="history.back();" class="button_style" onMouseOver="this.className='button_style_hover'" onMouseOut="this.className='button_style'"></td>
<td align="right" nowrap="nowrap"> 
<select name="hanhdong1" size="1" onchange="changevalue('hanhdong1');">
   <?php $_from = $this->_tpl_vars['chuyentrang']; if (!is_array($_from) && !is_object($_from)) { settype($_from, 'array'); }if (count($_from)):
    foreach ($_from as $this->_tpl_vars['k'] => $this->_tpl_vars['v']):
?>
      <option value="<?php echo $this->_tpl_vars['k']; ?>
" <?php if ($this->_tpl_vars['select_cbo_chuyentrang'] == $this->_tpl_vars['k']): ?> selected="selected" <?php endif; ?>><?php echo $this->_tpl_vars['v']; ?>
</option>
 	<?php endforeach; endif; unset($_from); ?>
</select>
<input name="action" type="submit" value="<?php echo $this->_tpl_vars['ten_thuc_hien']; ?>
" class="button_style" onClick="" onMouseOver="this.className='button_style_hover'" onMouseOut="this.className='button_style'"></td>
</tr>
</table>

</form>
<?php echo $this->_tpl_vars['javascriptsetstyle']; ?>

<?php $_smarty_tpl_vars = $this->_tpl_vars;
$this->_smarty_include(array('smarty_include_tpl_file' => "footer.tpl", 'smarty_include_vars' => array()));
$this->_tpl_vars = $_smarty_tpl_vars;
unset($_smarty_tpl_vars);
 ?>